package homework.March_31;

import java.util.Scanner;

public class Solid_Square {
    //用户输入正方形边长，用*打印出实心正方形
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入所要打印正方形的边长:");
        int Side_length = sc.nextInt();

        for (int i = 0; i < Side_length; i++) {
            for (int j = 0; j < Side_length; j++) {
                System.out.print("  *");
            }
            System.out.println(" ");
        }
    }
}
